package com.sunmi.usercenter.bean;

/**
 * frag之间数据传递的载体
 * 
 * @author longtao.li
 * 
 * @param <T>
 */
@SuppressWarnings({ "rawtypes", "serial" })
public class Info<T> extends SuperBean {
	
	/**传递的实体*/
	private T data;

	/** 来源*/
	private Class origin;
	
	public Info() {
		super();
	}
	
	public Info(T data) {
		this.data = data;
	}
	
	public Class getOrigin() {
		return origin;
	}

	public void setOrigin(Class origin) {
		this.origin = origin;
	}

	public T getData() {
		return data;
	}

	public void setData(T data) {
		this.data = data;
	}

}
